package sa.javaee.ejb3.classes;
import java.util.List;

import javax.ejb.Local;
import javax.ejb.Remote;

import sa.javaee.ejb3.exception.BookException;

@Local
@Remote
public interface Cart {
    public void initialize(String person) throws BookException;
    public void initialize(String person, String id)
         throws BookException;
    public void addBook(String title);
    public void removeBook(String title) throws BookException;
    public List<String> getContents();
    public void remove();
}